package com.asnike.display{
	import flash.text.TextField;

	public class ASText{
		
		static public function getArg():ASTextArg{
			return new ASTextArg;
		}
		
		static public function FACTORY( $arg:ASTextArg ):TextField{
			var key:*, result:TextField, data:Object;
			
			data = $arg.getData();
			result = new TextField;
			
			result.defaultTextFormat = data.format;
			for( key in data ){
				if( key === 'format' ){}else{
					result[key] = data[key];
				}
			}
			
			return result;
		}
		
		public function ASText(){
		}
	}
}